<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>コントロールパネル</title>
    
    <link href="./assets/styles/default.css" rel="stylesheet" />
	<script src="./assets/scripts/libs/jquery-1.7.1.min.js" type="text/javascript"></script>
	<script src="./assets/scripts/import.js" type="text/javascript"></script>
		
</head>
<body>

{include file='include/header.inc.html'}

<div id="container">
	<aside id="accordion">
    	<div id="aside_inner">
    		{include file='include/menu.inc.html'}
        </div>
    </aside>
    
    <article>
    	<h2><span>&nbsp;</span>Site<p><a href="javascript:;">Open Plugins</a></p></h2>
        <nav>
        	<ul>
            	<li class="active"><a href="{$smarty.server.SCRIPT_NAME}"><span>一覧</span></a></li>
            	<li><a href="{$smarty.server.SCRIPT_NAME}?op=regist"><span>登録</span></a></li>
			</ul>
        </nav>
        
        <section id="content">
        	<h3>一覧</h3>
				{if isset($pager->info.all)}<p class="message">{$pager->info.all|number_format}件登録されています。</p>{else}<p class="message zero">見つかりませんでした。</p>{/if}				
				{if isset($list)}
					{if isset($pager->info.all) && $pager->info.all > 0}	
						{include file='site/include/search_list.inc.html'}
						{include file='include/pager.inc.html'}
	                {/if}
				{/if}
        </section>
        
        <form name="search_form" method="post" action="{$smarty.server.SCRIPT_NAME}" >
		<input type="hidden" name="op" value="serach"/>
		<input type="hidden" name="page_id" value=""/>
		</form>
    </article>
    
</div>

{include file='include/footer.inc.html'}

</body>
</html>